#ifndef _EXPORT_H_
#define _EXPORT_H_

#ifdef HAS_DLL
#    ifdef BUILD_DLL
#        if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
#            define DLL_EXPORT __declspec(dllexport)
#               else
#            define DLL_EXPORT
#               endif 
#    else
#        if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
#            define DLL_EXPORT __declspec(dllimport)
#               else
#            define DLL_EXPORT
#               endif 
#    endif
#else
#    define DLL_EXPORT 
#endif

#endif // _EXPORT_H_